home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung 2
/
Power-Programmierung CD 2 (Tewi)(1994).iso
/
gnu
/
djgpp
/
src
/
libgplus.5
/
libgplus
/
test-ins
/
bf.cc
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-12-06
|
312 b
|
19 lines
#include <stream.h>
#include <String.h>
// gcc-2.3.2 is buggy, and can't deal with the following.
// Take the wimpy way out for now until 2.3.3 is released.
#if 0
String s1 = String("Hello ");
#else
String s1("Hello ");
#endif
String s2(" world!\n");
int f()
{
cout << s1 + s2;
return cout.good();
}